package com.dbq.share;

/**
 * Created by sunkai on 2017/12/27.
 */

public interface ShareCallback {
    void showSelectorDialog();

    void startShare(@SocializeMedia String media);

    void shareFail(@SocializeMedia String media, int errCode, String errMsg);

    void shareComplete(@SocializeMedia String media);

    void showProgress(BaseAssistActivity activity);

    void hideProgress();

    final class Code {
        public static final int USER_CANCEL = 0;
        public static final int SHARE_ERROR = -1;
        public static final int USER_CANCEL_DIALOG = -2;
        public static final int APP_NOT_INSTALL = -2;
        public static final int USER_PRESS_HOME = -3;

    }
}
